package shiqi.chain.version2;

import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;
import shiqi.chain.code.ContextHolder;
import shiqi.chain.code.ContextRequest;
import shiqi.chain.code.ContextResponse;

/**
 * @author shiqi
 * @version 1.0.0
 * @ClassName BStage.java
 * @Description
 * @createTime 2022-05-20
 */
@Order(2)
@Component
public class BStage implements Stage<ContextRequest, ContextResponse, ContextHolder> {

    @Override
    public void process(Pipeline<ContextRequest, ContextResponse, ContextHolder> pipeline) {
        System.out.println("B stage execute...");
    }
}
